﻿using UnityEngine;
using System.Collections;

public class heal : SummonerSpell {

	// Use this for initialization
	void Start () {
		initializeStuff();
		initializeSummonerSpellStuff();
		forAllies = true;
		cardName = "Heal";
		cardDescription = "Target allied Champion is healed for up to 15 Damage and Grievous wounds is removed.";
	}
	
	public override void playSpell(Champion champion){
		champion.health += 15;
		if(champion.health > champion.maxHealth)
			champion.health = champion.maxHealth;
		base.playSpell(champion);
	}
	
	public override float evaluateSummonerSpell(Champion champion){
		if(champion.health <= 50)
			return 100 - champion.health;
		else
			return 0;
	}
}
